Measuring mechanical properties of coatings: a methodology applied to nano-particle-filled sol–gel coatings on glass