Ab initio studies of structural and mechanical properties of NH3, NO and N2O hydrates