Mathematical models for ecoepidemiological interactions, with applications to herd behaviour and bovine tuberculosis, and evolutionary interactions of alarm calls