Part of the M5 through Worcestershire will be closed overnight for the rest of this week while National Highways carries out maintenance work.