Sarah Ferguson was 'lonely, deeply unhappy' in Andrew marriage