More than 300 students have attended summer schools involving Edinburgh aimed at widening participation in higher education.