Cell monolayers sense curvature by exploiting active mechanics and nuclear mechanoadaptation