Model based clustering for three-way data structures through a mixture of vine copulas