Private hospitals will be paid millions of pounds to take NHS patients in the next three months.