Nonstrange and strange pentaquarks with hidden charm