FBI Director Wray says he intends to resign at end of Biden's term in January