Existence of solutions to principal–agent problems with adverse selection under minimal assumptions