Self-efficacy is associated with better sleep quality and sleep efficiency in adults with subarachnoid hemorrhage.