Band gaps in periodically magnetized homogeneous anisotropic media