Effects of type-I edge-localized modes on transport in ASDEX upgrade