Encounter between militants, security forces in J&K