On Linear Stability of SGD and Input-Smoothness of Neural Networks