Dimension adaptability of Gaussian process models with variable selection and projection