Control of Synchrotron X-ray Emission from Laser Wakefield Accelerators.