Courteney Cox "didn't know" celebrities were "supposed to be private" and hopes speaking about her own fertility struggles can offer "hope" to other women.