On optimal estimates for the solutions of linear partial differential equations of first order with constant coefficients on the torus