Torsional barriers in biphenyl, 2,2′-bipyridine and 2-phenylpyridine