Potential energy surfaces for YH+2 and ZrH+2