A corpus-based developmental investigation of linguistic complexity in children's writing