Crystal Structure And Phase Transitions In Various Functional Perovskites