The influence of pore geometry and orientation on the strength and stiffness of porous rock