Ranking electric generating technologies with external costs