Converts an energy from an initial unit to a final unit.