Write, talk and rewrite: the effectiveness of a dialogic writing intervention in upper elementary education