Thermal Parameters in Heavy Ion Collisions at SPS and RHIC: Centrality Dependence