Learning relationships between chemical and physical stability for drug development