Common heart condition which plagues small dogs can be picked up by AI, scientists say