On the use of the Murakami's zig-zag function in the modeling of layered plates and shells