GM to lay off 1,300 workers at two Michigan plants