Three-dimensional local density of states in a finite two-dimensional photonic crystal composed of cylinders