Ab initio calculations of ABO3 perovskite (001), (011) and (111) nano-surfaces, interfaces and defects