Metal and ligand K-edge XAS of organotitanium complexes: metal 4p and 3d contributions to pre-edge intensity and their contributions to bonding.