On the irrationality measure of certain numbers