gold, silver up on safe-haven demand