Doctors says plan to charge foreigners would damage NHS