Distributed cooperative guidance for multiple missiles with fixed and switching communication topologies