Local and global existence of mild solutions for a class of semilinear fractional integro-differential equations