Convex Relaxation for Community Detection with Covariates