Photon Emission from Core-Excited Be I and Be II States