Direct observation of nonlinear effects in a one-dimensional photonic crystal