The relationship of a course grade to hope and optimism in nursing students' academic success