Calculation of the Spherical Aberration Coefficient from Beam Emittance Diagrams