Google has detected large-scale phishing attacks targeting users in Iran, ahead of presidential elections in the country.