The outgoing European Council chief says leaving the EU would leave the UK a “second-rate player”.