Modal Properties of Photonic Crystal Cavities and Applications to Lasers