Entropy and Correlations in a Fluid of Hard Spherocylinders: The Onset of Nematic and Smectic Order