Militants kill three security personnel in Kashmir