N88: The physical properties of a compact star-forming region and its neighbourhood in the SMC II. H and H 2 near infrared emission