The Trust that runs Scarborough Hospital earned £2m from patient and visitor parking charges last year.