The IMF warned that a British exit from the European Union could inflict severe damage to the world economy