Reactive sputter magnetron reactor for preparation of thin films and simultaneous in situ structural study by X-ray diffraction.