California lawmakers vote to extend greenhouse gas goals