Best Buy profits from cost-reduction program