Cloud service demand helps Oracle beat profit, revenue expectations