Molecular and Free Electron Spontaneous Emission in Periodic Three Dimensional Dielectric Structures