Strategic alliances and technological innovation : conditions and mechanisms