All porous silicon microcavities: physics and applications