The period-luminosity relation. IV. Intrinsic relations and reddenings for the Large Magellanic Cloud Cepheids.