Structure-function relationships in the photoactive yellow protein family of photoreceptors