49ers snatch WR Boldin from Ravens