Process for the preparation of immunogens or diagnostic reagents, and immunogens or diagnostic reagents thereby obtainable