Operads for algebraic quantum field theory