Bersani wins Italy primary, heads to general vote