What were some economic factors contributing to the growth and prosperity of towns during the High Middle Ages?