Global microscopic calculations of ground-state spins and parities for odd-mass nuclei