What are the tasks of a obstetrician?