The dark recovery rate in the photocycle of the bacterial photoreceptor YtvA is affected by the cellular environment and by hydration