Adobe’s stock gains on earnings, profits beat