Tracing the electron motion in H2+ using attosecond photoelectron spectroscopy