SU(2) and SU(1, 1) Approaches to Phase Operators and Temporally Stable Phase States: Applications to Mutually Unbiased Bases and