Molecular basis for functional diversity among microbial Nep1-like proteins