A Practical Application of X-Ray Spectroscopy in Ti-Al-N and Cr-Al-N Thin Films