The average UK house price has risen above £300,000 for the first time, according to figures by mortgage lender Halifax.