Some characterizations of finite Sturmian words