Polls close in Guatemala's general election, just days after the country's president resigned and was jailed to face prosecution on corruption charges.