Inclusive production of ρ0 and f2 mesons in π− p interactions at 360 GeV/c