Direct observation of the superfluid phase transition in ultracold Fermi gases