Glassy dynamics in supercooled-liquid and glassy ethanol: A molecular dynamics study