Long period variables detected by ISO in the Small Magellanic Cloud