Multiscale modeling of the effect of sub-ply voids on the failure of composite materials