Gold prices rise after sharp declines