Molecular beam photoionization study of HgCl2