Gadolinium in water Cherenkov detectors improves detection of supernova $\nu_e$