Uncertainty quantification via sparse polynomial chaos expansion