Dogs functionally respond to and use emotional information from human expressions