Tens of thousands of patients were waiting for routine treatment at Peterborough and Stamford Hospitals in December, new figures show.