Cyclization reactions for the functionalization of fullerenes: experimental and theoretical studies