Interior ministers sign security pact