Ultrafast superconducting switches