Light and dark adaptation in the eye of the fiddler crab: mechanisms to cope with extreme fluctuations in brightness