Dynamics of dissipative soliton and conventional soliton in passively mode‐locked erbium‐doped fiber laser