Mechanical Measurements of the Melting Transition in Thin Liquid-Crystal Films