Coherent detection-based photonic radar for autonomous vehicles under diverse weather conditions