The infinitesimal and generalized Hodge conjecture for some families of sextic threefolds