Centralizers and Fixed Points of Automorphisms in Finite and Locally Finite Groups