CUORE-0 results and prospects for the CUORE experiment