Charged-current scattering off the 16O nucleus as a detection channel for supernova neutrinos