Two jailed for stabbing of German student in Dublin