Police forces across England and Wales have seen an increase in dog attacks over the past five years.