Hospital apologises after heart-rending death of baby at birth