Microwave and terahertz studies of the electron dynamics in two-dimensional electron systems