Computing ray class groups, conductors and discriminants