'Smart stethoscope' using AI can spot heart failure, study finds