Response of interferometric detectors to scalar gravitational waves