Top oil producers agree to freeze production