A-level results show a rise in top grades, as a record proportion of 18-year-olds head to university.