Two police personnel killed in militant attack