Spectral preconditioners for the efficient numerical solution of a continuous branched transport model