Determination of mechanical properties of thin films: a theoretical feasibility study