Geodesics in First-Passage Percolation and Random Walks on Critical Percolation Clusters