Locally Optimal Scatternet Topologies for Bluetooth Ad Hoc Networks