UK charity Comic Relief has said it will stop investing in alcohol companies, following a review of its investments.