Parameter estimation for univariate and bivariate Gaussian processes and fields