Mechanical properties of thin films and multilayers