Energy-managed soliton fiber laser