Comparing machine learning potentials for water: Kernel-based regression and Behler–Parrinello neural networks