Supervised principal component analysis for gene set enrichment of microarray data with continuous or survival outcomes