Two young women who abused elderly residents in a Bingley care home have been locked up.