A deep search for the host galaxies of GRBs with no detected optical afterglow