Google’s Maps app will start directing drivers along routes estimated to generate the lowest carbon emissions based on traffic.