Fierce fighting displaces thousands in Afghanistan