The origin of bedrock mega-grooves in glaciated terrain