Q-Gorenstein smoothings of surfaces and degenerations of curves