Transport of relativistic electrons at shocks in shell-type supernova remnants: diffusive and superdiffusive regimes