Positive-real systems under lossless transformations: Invariants and reduced order models