Topotactic redox reactions of the channel type chalcogenides Mo3S4 and Mo3Se4