FRANKFURT — The European Central Bank said Thursday it had agreed on a framework for buying the bonds of troubled euro-zone countries on the open market in unlimited quantities, but set conditions that could delay action for weeks or longer.