A necessary and sufficient condition for robust BIBO stability