U.S. military hits recruitment goals after years of shortfalls