Curvature prescription problems on manifolds with boundary