Symbolist painters were part of a 19th-century movement in which art became infused with mysticism