The Type IIP SN 2007od in UGC 12846: from a bright maximum to dust formation in the nebular phase