Ford agrees to pay up to $165 million penalty to US government for moving too slowly on recalls