Nonlinear stability analysis of acoustic streaming using the energy method