Lasing mechanism in two-dimensional photonic crystal lasers