Symmetry analysis of magnetic structure in hexagonal manganites LMnO3 (L = Er, Ho, Lu, Sc, Tm, Y)