The rotation number for finite difference operators and its properties