A photometric determination of the metal content for Cepheids in the Small Magellanic Cloud