Benchmark indices close higher on strong gains in metal and energy stocks amid positive global cues