Comparing the reliability and economics of renewable and nuclear energy