Relative and absolute Gromov-Witten invariants