A randomised controlled trial of the effectiveness of a program for early detection and treatment of depression in primary care