BlackBerry reports net loss, but operating profit and revenue above estimates