Measurement of B0, Bs0, B+ and Λb0 production asymmetries in 7 and 8 TeV proton-proton collisions