Taliban, Afghan govt agree on code of conduct for negotiations