pretty printers for BosonOperator and FermionOperator