Structural phase transition and superlattice misfit strain of RFeAsO R=La,Pr,Nd,Sm