Is there math behind flocking birds and schooling fish? Scientists decode the animals’ synchronised behaviour and liken it to atoms in an intricate and orderly lattice