A better understanding of the way dogs communicate distress could be the first step in reducing the risk of dog bites for both children and adults, a new study has found.