Study of orbitally excited B mesons and evidence for a new B pi resonance