Cardiac failure and patency of the ductus arteriosus in early infancy