Rational Design of Durable Anti-fouling Coatings with High Transparency, Hardness, and Flexibility.