Changing pattern of the demographic structure of medium and small towns in Karnataka a geographical perspective