On the classes of languages characterized by generalized P colony automata