Dynamics of soliton explosions in passively mode-locked fiber lasers