Design and analysis of quality of life studies in clinical trials