Spectral Flow and Bifurcation of Critical Points of Strongly Indefinite Functionals.