Google parent company to lay off 12,000 workers, memo says