Effect of grain shape on quasi-static fluid-fluid displacement in porous media