Preparation of homogeneous mixed oxides by spray pyrolysis