A bifurcation problem for a class of periodically perturbed autonomous parabolic equations