An electronic approach to alloy design and its application to Ni-based single-crystal superalloys