Principles of nuclear power generation