Efficient Neural Codes under Metabolic Constraints