The role of the institutional context in shaping research-based teacher professionalism