Riccati Matrix Difference Equations and Linear Hamiltonian Difference Systems