AI image generators trained on pictures of child sexual abuse, study finds