Nurses and teachers are being priced out of rural areas, charity warns