Control of interference and diffraction of a three-level atom in a double-slit scheme with cavity fields