Theoretical investigation of static and dynamic characteristics of vertical-cavity surface-emitting lasers with incorporated two-dimensional photonic crystals