Conformal mappings of G-structures