UK Prime Minister Andy Burnham has acknowledged he could go "all the way" and propose rejoining the European Union as he considers the UK's future relationship with Brussels.