Cognitive factors in biofeedback therapy