Phase structure of self-dual lattice gauge theories in 4d