A continuation principle for forced oscillations on differential manifolds