Inclusive π0 andη 0 production in π− p interactions at 360 GeV/c