Inversion of the stability between normal and fault sites for transition-metal adatoms on (111) fcc and (0001) hcp transition-metal surfaces