Dozens of pharmacies across Hampshire will remain open during Christmas and New Year to ensure residents can access essential health services and advice.