Temporal relationship between attitude toward mathematics and mathematics achievement