Inspectors found staff 'were not adequately trained' to meet needs of people with learning disabilities