Symmetric and antisymmetric kernels for machine learning problems in quantum physics and chemistry