Gemalto profits rise on M2M diversification