Equities have achieved huge gains over the past century when measured in U.S. dollars. But how have they performed relative to gold?