Hamiltonian analysis of non-chiral Plebanski theory and its generalizations