Extremal solutions for some periodic fractional differential equations