Structural and optical properties of Zn1-xMgxO nanocrystals obtained by low temperature method