EU leaders adopt post-Madrid anti-terror package