Time symmetry in quantum theories and beyond