Constructing clock-transition-based two-qubit gates from dimers of molecular nanomagnets