Several Scottish universities were ranked in the top 50 in Europe.