Halle Berry has married French actor Olivier Martinez, at a ceremony in a church near a chateau in France.