Bandgap design of three-phase phononic crystal by topological optimization