Memory processes and the course of anxiety and depression in cancer patients