Characteristic varieties of arrangements