House of Fraser has moved to a profit in its last fiscal year thanks to double-digit online sales growth but the UK department store retailer has warned trade remains volatile.