Stromatolites and earth—sun—moon dynamics