Electromagnetic fields and modes in 2-layer spherical cavities