China extends Hong Kong legislature for a year