Raul Castro resigns as head of Cuba's Communist Party