Hilbert and physics (1900-1915)