Probing Confinement Effects on the Infrared Spectra of Water with Deep Potential Molecular Dynamics Simulations.