Characterization of heterojunction laser diodes by near field optical scanning microscopy: layer composition and mode structure analysis