Duke beats UCF 77-76