Characterizations of 0-distributive posets