Categorification of algebraic quantum field theories