Staff shortages are key contributor to baby deaths, investigation finds