Ceremony marred by jury president Spike Lee mistakenly revealing 'Titane' as Palme d’Or winner at start of evening; top prize goes to female director for only second time