gold prices rise, but end lower for the week