Bounds on Rates of Variable-Basis and Neural-Network Approximation