Search for the rare decays B→πℓ+ℓ− and B0→ηℓ+ℓ−