The early optical afterglow and non-thermal components of GRB 060218