A quotient-difference algorithm for the determination of eigenvalues of periodic tridiagonal matrices