Star formation history of the young cluster NGC602 in the Small Magellanic Cloud