China replaces head of securities regulator amid market turm