Linearity and classification of Z2Z4Z8-linear Hadamard codes