Magnetic structure of hexagonal manganites RMnO3 (R=Sc,Y,Ho,Er,Tm,Yb,Lu)