Method of preparing of metal alkoxide solutions