Variational Approach to Continuum Orbitals in a Spline Basis. An application to H2+ Photoionization