Controlled p-doping of pigment layers by cosublimation: Basic mechanisms and implications for their use in organic photovoltaic cells