Poisson brackets for lagrangians linear in the velocity