Diplomats agree on "weak" text for Rio 20 green summit