UK fashion retailer Matalan has posted improved full-year profits despite what it called a challenging market.