Gold edges up on moderate buying; silver recovers