Improving writing instruction across primary and secondary school