Exafs from measurements of X-ray reflectivity on passivated electrodes