Bayes linear spaces