Data-Driven Optimal Consensus Control for Linear Multiagent Systems