Ion acoustic shock waves in degenerate plasmas