New study links child abuse and nightmares