Electric fields and valence-band offsets at strained [111] heterojunctions