Bifurcation analysis of periodically forced systems via continuation of a discrete map