Relations among depression, self-efficacy and optimism in a sample of nurses in Taiwan.