Controlling the photonic band structure of optically driven cold atoms