Modular deposition chamber for in situ X-ray experiments during RF and DC magnetron sputtering.