Variational study of the hydrogen molecular ion in very strong magnetic fields