Effect of different variables in the solubility of ampicillin and corresponding solid phase