how to calculate theoretical yield and percent yield