Japan PM Kan announces resignation as party head: media