Constraints on off-shell Higgs boson production and the Higgs boson total width in ZZ -> 4l and ZZ -> 2l2v final states with the ATLAS detector