La Chaux-de-Fonds / Le Locle, urbanisme horloger