Pakistan man accused of blasphemy shot dead in courtroom