Scintillation as a tool for studying the interstellar plasma