Constraint structure and Hamiltonian treatment of Nappi-Witten model