Baked chicken legs with potatoes and tomatoes