Knowledge generation and knowledge transfer across communities of practice: building practices through heterogeneity