Two-dimensional ternary locally resonant phononic crystals with a comblike coating