Voters in Poland have been casting their ballots in the country's presidential election - with the outcome believed to be on a knife-edge.