Boris Johnson has warned Andy Burnham that putting Brexit at the centre of Labour's agenda could damage the party, as the government seeks closer economic ties with the EU.