An assessment of learning in dogs in relation to cues conveyed by humans