Periodically expansive homoclinic classes