Centralizers and Jordan triple derivations of semiprime rings