New analysis shows hospital staff, patients and visitors have paid more than £1 billion in parking charges over the last six years.