THE DIFFUSE LIGHT IN SIMULATIONS OF GALAXY CLUSTERS