Results of CUORE-0 and prospects for the CUORE experiment