User Assignment and Resource Allocation for Hierarchical Federated Learning over Wireless Networks