Finite perturbation molecular orbital approach to the dihedral angle dependence of vicinal H-H and H-F couplings