Recursion polynomial expansion of the Green’s function with absorbing boundary conditions: Calculations of resonances of HCO by filter diagonalization