Development of the neutronic module and benchmark and validation of the thermal-hydraulic module of the FRENETIC code