Periodical cicadas have a clever hack to help them figure out when to emerge after more than a decade underground