Measurement of the Higgs boson width and evidence of its off-shell contributions to ZZ production