On some alternative formulations of the Euler and Navier-Stokes equations