Semistrict models of connected 3-types and Tamsamani’s weak 3-groupoids