Artificial intelligence detects heart defects in newborns