Nucleon form factors and O(a) improvement