Supercurrent diode effect and finite-momentum superconductors