UGrid: An Efficient-And-Rigorous Neural Multigrid Solver for Linear PDEs