New data shows some parents view spanking as a quick fix, but there are shifts toward more nuanced methods of discipline.