Bedrock controls on water and energy partitioning across the western contiguous United States