Optimal carbon-neutral retrofit of residential communities in Barcelona, Spain