Preparation of vanadium phosphorus oxide catalysts