CQC warns hospital over nurse shortage