Development, validation and application of analytical methods for certain active pharmaceutical ingredients and formulations