Peer relationships and writing development: a microgenetic analysis