Time-history analysis of composite materials with rectangular microstructure under shear actions