Frequency response of electrolyte-gated graphene electrodes and transistors