Machine learning of phases and mechanical properties in complex concentrated alloys