An ambitious target to phase out sales of new petrol and diesel cars by 2030 could halve UK oil imports, a study by environmental and aid organisations suggests.