Novelist renowned for his scrupulous attention to style and prose rhythm; his debut novel Madame Bovary scandalised France but established the realist novel.