Migrating from subfig to subcaption for sake of hyperref

In subfig, the link can point to the wrong location.
BTW, it is required to use the \capstart command from the hypcap package
at the beginning of each subfigure environment in order to have correct
hyperref links.