MetaBEV: Solving Sensor Failures for 3D Detection and Map Segmentation