Muon–Electron Pulse Shape Discrimination for Water Cherenkov Detectors Based on FPGA/SoC