Poisson bracket formulation of viscoelastic flow equations of differential type: A unified approach