Indirect measurement of 15N(p,alpha)12C and 18O(p,alpha)15N.Appliction to the AGB star nucleosynthesys