Gillispie resigns as Texas Tech men's basketball coach