Nationwide blames profit slump on investment in new technology Building society said it maintained share of mortgage market in first half