Wards were found to be dirty and poorly maintained while patients said they didn't feel safe and staff lacked training