Evolution of an impact-generated dust cloud and its effects on the atmosphere