Virus and Mycoplasma pneumoniae are the main etiological agents of community-acquired pneumonia in hospitalized pediatric patients in Spain