Horses are able to discriminate between happy and angry human facial expressions, according to research.