Search for charged Higgs bosons at LEP in general two Higgs doublet models