metals futures close lower; gold falls nearly $6