Does transistor amplify AC or DC?