Left-orderability and exceptional Dehn surgery on two-bridge knots