Epidemic spreading on adaptively weighted scale-free networks