Multiple 0-π transitions in superconductor/insulator/ferromagnet/superconductor Josephson tunnel junctions