Spain ups electric car investment after Volkswagen threatens to pull project