Describe the energy-related pathways of the electron transport chain and chemiosmosis. Include a discussion of the energy transfers and end products.