Digital versus Analog Transmissions for Federated Learning over Wireless Networks