Update SQL to reflect changes in database structure

The table institutions has been split between institutions
and a new table institution_countries. Also the column type_id
of institutions has been renamed to institution_type_id.

In participations, the column institution_id has been renamed
to institution_country_id.