The phase field method for geometric moving interfaces and their numerical approximations