Companion forms and weight one forms