The trans-relativistic blast wave model for SN 1998bw and GRB 980425