Structural features of the Nostoc punctiforme debranching enzyme reveal the basis of its mechanism and substrate specificity