Dundee and Dundee United have been paired in a Scottish Cup quarter-final draw which also matches St Mirren with Celtic.