Solid solution strengthening of high-entropy alloys from first-principles study