Tree rings can help historians trace ancient events