Localized electron states near pentagons in variously shaped carbon nanoparticles