Nonparametric Estimation under Shape Constraints