CT scans can diagnose complex heart disease, study shows