Measuring The Polarization Of The Cosmic Microwave Background With Polarbear-1 And Developing The Next-Generation Experiment Polarbear-2