Mental health patients held in police cells due to lack of hospital beds