Energy-aware Scheduling of Virtualized Base Stations in O-RAN with Online Learning