Phone app turns mobile into stethoscope to monitor heartbeat