Principles of bioenergetics