Mean-field description of the phase string effect in the t-J model