Baby has open heart surgery just minutes after being born