Determination of yielding and debonding in Al–Cu thin films from residual stress measurements via diffraction