Deaths of three newborn babies could have been avoided, inquiry finds