A 30-year-old woman, gravida 1 para 0, at 24 weeks of gestation presents to the emergency department with complaints of persistent headache, blurry vision, and swelling in her hands and feet for the past two days. She denies chest pain, but has some shortness of breath. Her antenatal course has been uneventful until now, with no significant medical history. On examination, the patient has a blood pressure of 170/110 mmHg, a pulse rate of 88 beats per minute, and no fever. Which of the following medications is considered safe and commonly used to treat hypertension in pregnancy?