Coupling of two superconductors through a ferromagnet: Evidence for a π junction