Discovery of magnetic fields in hot subdwarfs