Recombination and excitation ofHeH+