The Scottish Government declared a housing emergency last year but the number of new homes completed continues to decline.