Higher-order impedance boundary conditions for complex layered planar coatings