A comparison between matter wave and light wave interferometers for the detection of gravitational waves