Owning a cat can reduce the risk of heart attacks and strokes by more than a third, researchers found.