Functional roles of benthic macrofauna in sediment biogeochemistry across natural and anthropogenic gradients