The Electronic Structure of F2, Cl2 and Br2 molecules: the description of charge-shift bonding within the generalized valence bond ansatz