Measurement-Based Quantum Computation and Symmetry-Protected Topological Order