Mike D'Antoni resigns as Lakers coach