Hybrid output regulation for nonlinear systems: Steady-state vs receding horizon formulation