Method development and validation of moxifloxacin