Limit cycles for piecewise linear differential systems via Poincaré-Miranda theorem