Multi-layer thin films/substrate system subjected to non-uniform misfit strains