Scalarisation of maxwell's equations in general inhomogeneous bianisotropic media