Fronthaul Network Planning and Cost Optimization for Ultra-Dense Networks