On plane and anti-plane waves in layered models of piezoelectric composites, fiber-reinforced and flexoelectric materials with non-conventional boundaries