An energy and enstrophy constrained parameterization of barotropic eddy potential vorticity fluxes