Identifying protein nanocrystals by machine learning