On the Effect of Clock Frequency on Voltage and Electromagnetic Fault Injection