If you have a resistor and a capacitor that appear similar, without any distinguishing marks, how can you determine which is the resistor and which is the capacitor?