Boon comes as building society posts sharp drop in first-half profits