The anomaly field theories of six-dimensional (2,0) superconformal theories