Mood, anxiety and personality traits and states in chronic pain