On the least-squares fit of small and great circles to spherically projected orientation data