Text this: Experimenting with RC and RL series circuits using smartphones as signal generators and oscilloscopes