The unidirectional relationship of nightmares on self-harmful thoughts and behaviors