A South Yorkshire care home has been put into special measures by inspectors over safety concerns about the care provided.