A model of the reentrant phase transition of a smectic C* liquid crystal under magnetic field