Scottish Law Society answers critics with new code of conduct