Contributions of multipole terms to the photoelectric yield in X-ray standing-wave measurements