Composite Inference for Gaussian Processes