The Complex Morphology of the X-ray and Optical Emission from HH 154: The Pulsed Jet Scenario