Degenerate higher order scalar-tensor theories beyond Horndeski and disformal transformations