Centralizers in reductive group schemes