Warren Buffett resigns from Gates Foundation