Virial equation of state for rigid spherocylinders