Relationships between writing motivation, writing activity, and writing performance: effects of grade, sex, and ability