Ole Miss basketball coach Chris Beard agrees to new contract