The impact of three types of writing intervention on students’ writing quality