Amplitudes of 3D and 6D maximal superconformal theories in supertwistor space