Photon-Plasmon Interaction in a Nonuniform Electron Gas. I