The μ-RWELL technology for the preshower and muon detectors of the IDEA detector