The An method and the spherical-harmonics approximation in neutron transport theory