Baked cod with tomatoes and onion