Gaussian process regression for nonparametric force fields