Sacramento girl needed amputations after 5-hour wait at emergency room