Control of glacial quarrying by bedrock joints