Structure and regularity of solutions to nonlinear scalar conservation laws