Perovskites and thin films—crystallography and chemistry