Property T and strong property T for unital *-homomorphisms