Fundamentals of nuclear reactors