Extended Visibility of Autonomous Vehicles via Optimized Cooperative Perception under Imperfect Communication