The function of synchronisation in cicada swarms