Gun attack at Iranian election office injures three