Bakery firm Greggs posts slump in full-year profit