Coulomb and nuclear effects in breakup and reaction cross sections