Scotland’s hopes of Euro 2025 qualification were ended after a 2-0 defeat against Finland in Helsiniki.