Energy transfer in the purple membrane of Halobacterium halobium