A measurement of the cosmic microwave background B-mode polarization power spectrum at sub-degree scales with Polarbear