Quantitative relationship between structural orthorhombicity, shear modulus, and heat capacity anomaly of the nematic transition in iron-based superconductors