Alcatel-Lucent posts profit on asset sales