Electron density behaviour in the TPE-RX reversed field pinch experiment and comparison with the particle transport model of the RFX experiment