Scotland Women have qualified for the World Cup finals in France after a 2-1 win over Albania.