Deep-learning Optical Flow Outperforms PIV in Obtaining Velocity Fields from Active Nematics