Measurement of the top-quark mass in $\mathrm{t}\overline{\mathrm{t}}$ events with dilepton final states in pp collisions at $\sqrt{s}=7\ \mbox{TeV}$