The father of an eight-month-old baby who died after the pram she was in was hit by a car outside a hospital says being told she was unlikely to survive was "horrific".