A Framework for Interdomain and Multioutput Gaussian Processes