For months each side had been building forward rifle pits and defensive positions, which resulted in many skirmishes. What month did the capture of Malakoff take place?