COMBO-17 measurements of the effect of environment on the type-dependent galaxy luminosity function