Advances in the understanding and treatment of pain and headache