Hospitals 'dump work on GPs'