Fluid-fluid and fluid-solid transitions in the Kern-Frenkel model from Barker-Henderson thermodynamic perturbation theory