US wants Mexico under grid security pact before year’s end