Female director takes top prize at Cannes