The anisotropy of the g-factor for polycyclic hydrocarbons