Mobile internet demand boosts Allot second-quarter profit