An HIV model with age-structured latently infected cells