Star formation in starburst galaxies from near-IR spectroscopy and evolutionary population synthesis