Social workers denied parents time with dying baby, says Ombudsman