Militant killed, 2 security personnel injured in Shopian encounter