Separating Regular Languages by Locally Testable and Locally Threshold Testable Languages