Cold front brings rainfall to Beijing