World powers and Iran agree on nuclear framework in Vienna