An ab initio study of substituent effects on the excited states of purine derivatives.