Sparse Generalized Principal Component Analysis