Simulation of Atomic Force Microscopy for investigating BaTiO3 and LiMn2O4 nanostructures based on Phase Field Approach