Kossel interferences of proton-induced X-ray emission lines to study thin film waveguides