Dogs can read your face - and behave differently when you're upset, scientists say