Variable-coefficient KP equation and solitonic solution for two-temperature ions in dusty plasma