Strains induced upon drying thin films solvent-cast on flexible substrates