Maslov index and symplectic sturm theorems