gold rallies to 5-month high after bernanke speech