The Chief Inspector of Prisons says the "seeming inability" to keep drugs out is a big reason for declining safety standards.