2 terrorists killed, officer dead in Jammu encounter