Photonic band gap in an imperfect atomic diamond lattice: penetration depth and effects of finite size and vacancies