Use of anomalous scattering for synchrotron X-ray reflectivity studies of Fe–Cr and Co–Cu double layers