Regularity of time-harmonic electromagnetic fields in the interior of bianisotropic materials and metamaterials