Dual gauge field theory of quantum liquid crystals in three dimensions