Existence and Structure of Extremals for One-Dimensional Nonautonomous Variational Problems