Current generation mechanisms in small band gap HgCdTe p-n junctions fabricated by ion implantation