Representations of two-qubit and ququart states via discrete Wigner functions