Six militants die in J&K encounter