British Prime Minister Theresa May has accused European Union officials of deliberately leaking misleading accounts of Brexit talks to affect the outcome of the UK election.