Application of quantum Monte Carlo methods to molecular potential energy surfaces