Study of the reactions e⁺e⁻ π⁺π⁻π⁰π⁰π⁰ and π⁺π⁻π⁰π⁰ η at center-of-mass energies from threshold to 4.35 GeV using initial-state radiation