All but two of London’s boroughs are exceeding EU limits for a toxic gas linked to respiratory problems, ministers have admitted.