Checks at the Irish border will be "unavoidable" under Theresa May's Brexit plans for the UK to leave the single market and customs union, Michel Barnier has warned.