G8 pledges $3bn to Palestinians