Habitability of red dwarf systems