Spirited Bangladesh dismiss Proteas for 162