Macroscopic equations for the description of the quasi-static magnetic behaviour of a type II superconductor of arbitrary shape