Impact Assessment of capacity building and training: assessment framework and two case studies