Determination of γ and -2βsfrom charmless two-body decays of beauty mesons