Simple Yetter-Drinfeld modules over groups with prime dimension and a finite-dimensional Nichols algebra