Edge and divertor physics in ASDEX Upgrade with emphasis on density limit characteristics