Factors and dynamics influencing the implementation of community interventions: a systems perspective