Strain compensation by twinning in Au thin films: Experiment and model