DPER: Diffusion Prior Driven Neural Representation for Limited Angle and Sparse View CT Reconstruction