A 62-year-old patient presents with sudden painless vision loss and a cherry-red spot on fundoscopy.What is the most likely diagnosis?