Investors turn to gold miners as metal outpaces inflation