Analysis of transverse modes of nitride-based laser diodes