Eigenfunctions of spin and orbital angular momentum by the projection operator technique