Volkswagen takes $18bil hit over emissions scandal