Gwyneth Paltrow “learned so much” through her divorce from Chris Martin