Bacterial aetiology and antimicrobial resistance of community-acquired pneumonia in the elderly and younger adults