Urban Form that Minimizes the Total Travel Cost Assuming Multiple Floors in a Three-Dimensional City with Two-Stage Hierarchical Bases