Style, sentiment, and quality of undergraduate writing in the AI era: A cross-sectional and longitudinal analysis