Transition metals contain unpaired electrons. Hence, they form covalent bonds which results in hardness.
Transition metals have close packed structures in which transition metals are held together by strong metallic bonds which have notable covalent character.
Hence, transition metals have high melting and boiling points.
For Zn, Cd and Hg the d orbitals are completely filled and no covalent bonds are formed.