An equilibrium model for RFP plasmas in the presence of resonant tearing modes with an application to particle and heat transport