Studies of B*s2(5840)0 and Bs1(5830)0 mesons including the observation of the B*s2(5840)0 -> B0 K0S decay in proton-proton collisions at sqrt(s) = 8 TeV