Cyclic electron flow produces ATP and NADPH