Favre tells ESPN he needs surgery to play again