Microsoft names Brad Smith president and chief legal officer