What type of legal relationship is established when a real estate licensee represents a buyer or seller in a transaction?