Hastings, population by age group