Resonance production in the reaction γp → pπ+π−π+π− in the energy range Eγ = 3.0−18.0 GeV