Straightforward method to measure optomechanically induced transparency