A police car lighted the way as students walked through Harvard Yard during a power outage that plunged much of Cambridge into darkness.