γ-Subdifferential and γ-convexity of functions on the real line