Mechanics and thermodynamics of suspended two-dimensional membranes