X‐ray photoelectron spectroscopy studies of chromium compounds