Polls close in presidential and legislative elections in a country that has more than 190 million registered to vote.