Integral-field near-infrared spectroscopy of two blue dwarf galaxies: NGC 5253 and He 2-10