Polaron and bipolaron formation studied by ESR measurement in polyaniline