UK house prices rise for first time in three months