Pope Francis has made history by naming an Italian nun as the first woman to head a prominent Vatican department.