Nearly ) optimal black-box constructions of commitments secure against selective opening attacks