Depth profile XRD analysis for characterisation of solid-state amorphisation in the bilayer nickel-titanium system