Optimization and Positivity Certificates of Rational Functions using Bernstein Form.