Perceptions towards online learning among medical students during the COVID-19 pandemic