Third-order generalized Van Vleck perturbation theory variant of multireference perturbation theory for electron correlation